﻿/**
 * describe:(0x0200 Locate Packet)
 * date:2022-09-06
 * author:lenny
 */
using Jt808DataParser.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Jt808DataParser.Model
{
    public class LocationData
    {
        /// <summary>
        /// Gps time
        /// </summary>
        public string GpsTime { get; set; }
        /// <summary>
        /// latitude
        /// </summary>
        public double Latitude { get; set; }
        /// <summary>
        /// Longitude
        /// </summary>
        public double Longitude { get; set; }
        /// <summary>
        /// Location type(1:GNSS located;0:Not located)
        /// </summary>
        public int LocationType { get; set; }
        /// <summary>
        /// Speed(km/h)
        /// </summary>
        public int Speed { get; set; }
        /// <summary>
        /// Direction(0~360)
        /// </summary>
        public int Direction { get; set; }
        /// <summary>
        /// Mileage(km)
        /// </summary>
        public long Mileage { get; set; }
        /// <summary>
        /// Altitude(m)
        /// </summary>
        public int Altitude { get; set; }
        /// <summary>
        /// ACC
        /// </summary>
        public int ACC { get; set; }
        /// <summary>
        /// Gnss signal
        /// </summary>
        public int GpsSignal { get; set; }
        /// <summary>
        /// GSM signal
        /// </summary>
        public int GSMSignal { get; set; }
        /// <summary>
        /// Alarm value list
        /// </summary>
        public List<int> AlarmTypeList { get; set; }
        /// <summary>
        /// Expansion Information Map
        /// </summary>
        public Dictionary<string, Object> ExtraInfoMap { get; set; }
    }
}
